package ferp.android.activities.preferences;

import android.content.Context;
import android.preference.PreferenceCategory;
import android.util.AttributeSet;
import android.view.View;
import android.widget.TextView;
import ferp.android.GUI;

/**
 * User: olegs
 * Date: 8/16/12 9:24 PM
 */
public class Category extends PreferenceCategory
{
  public Category(Context context)
  {
    this(context, null);
  }

  public Category(Context context, AttributeSet attrs)
  {
    super(context, attrs);
  }

  @Override
  protected void onBindView(View view)
  {
    super.onBindView(view);

    TextView title = (TextView) view.findViewById(android.R.id.title);
    title.setTypeface(GUI.Font.BOLD);
    title.setTextColor(GUI.Color.CATEGORY);
  }
}

